package bkgm;
/*File: ExpectiminimaxBackgammonAgent.java
 *CMPT310 Assignment 2 - Part1
 *Ver 0 - Originally by Greg Mori
 *Ver 1 - Started working on chooseMove() method  - Andriy Baranskyy
 *@author: Andriy Baranskyy, Egor Chalubeyeu
 *@email: abaransk@sfu.ca, egorc@sfu.ca
 */
public class ExpectiminimaxBackgammonAgent extends BackgammonAgent {
    private Evaluation evaluation;
    private final int MAXNODE=0;
    private final int MINDICENODE=1;
    private final int MINNODE=2;
    private final int MAXDICENODE=3;
    public ExpectiminimaxBackgammonAgent(int my_player_num) {
	super(my_player_num);
	evaluation = new NaiveEvaluation();
    }

    public ExpectiminimaxBackgammonAgent(int my_player_num, Evaluation e) {
	super(my_player_num);
	evaluation = e;
    }

    public Move chooseMove(BackgammonBoard b)
    {
        return (new Minimax(this.player_num)).minimaxDecision(b);
    }
}